import {FormRuleUtil} from "@/utils";


// 兑换比例 开始
FormRuleUtil.strRule('会员昵称', true, 20);
FormRuleUtil.strRule('手机号码', true, 20, 'mobile');
FormRuleUtil.strRule('电子邮箱', false, 500, 'email');
FormRuleUtil.strRule('头像地址', true, 500);
FormRuleUtil.strRule('会员性别', true, 20);
FormRuleUtil.strRule('描述说明', false, 200);
export const GENERATED_EDIT = {
    BODY: {count: 1},
    RULES: {
        count: FormRuleUtil.numRule('生成数量', true, 1, 100),

    }
}


export const FIRM_EDIT = {
    BODY: {
        phoneNumber: '',
        readyName: '',
        companyName: ''

    },
    RULES: {

        phoneNumber: FormRuleUtil.strRule('手机号码', true, 11, 'mobile'),
        readyName: FormRuleUtil.strRule('真实姓名', true, 10),
        companyName: FormRuleUtil.strRule('所属公司', true, 30),


    }
}


export const CHANGE_COIN_EDIT = {
    BODY: {
        event: null,
        remark: null,
        quantity: null,
    },
    RULES: {
        event: FormRuleUtil.strRule('调整类型', true,),
        quantity: FormRuleUtil.numRule('调整数量', true, 1,1000000),
        remark: FormRuleUtil.strRule('调整原因', true, 200),


    }
}


